package com.pig4cloud.pig.module.api.entity.setMeal;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.apache.ibatis.type.JdbcType;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 套餐详情对象 set_meal_info
 *
 * @author ruoyi
 * @date 2022-06-06
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("set_meal_info")
public class SetMealInfo implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 套餐id
     */
    private Integer mealId;

    /**
     * 套餐的名称
     */
    private String mealInfoName;

    /**
     * 套餐规格金额
     */
    private BigDecimal mealMoney;

	/**
	 *  实际需要支付的金额
	 */
	private BigDecimal payMoney;
    /**
     * 赠送的金额
     */
    private BigDecimal mealGiveMoney;

	/**
	 *  套餐 图片
	 */
	@TableField(updateStrategy = FieldStrategy.IGNORED,jdbcType = JdbcType.VARCHAR)
	private String infoImg;

    /**
     * 状态 0 - 未启用 1 - 已启用
     */
    private Integer state;


	/**
	 *  是否有赠品
	 */
	private Integer isHasReward;

    /**
     * 备注信息
     */
	@TableField(updateStrategy = FieldStrategy.IGNORED,jdbcType = JdbcType.VARCHAR)
    private String remark;

    @TableField(exist = false)
	private String infoImgPath;

	@TableField(exist = false)
	private String mealName;
}
